//
//  ViewController.swift
//  AIMobileOfficeiOSApp
//
//  Created by Wentao Ruan on 6/19/18.
//  Copyright © 2018 AIMobileOffice. All rights reserved.
//

import UIKit

class ViewController: UIViewController {
    @IBOutlet weak var Passwordtxt: UITextField!
    @IBOutlet weak var Emailtxt: UITextField!
    
    @IBAction func ConfirmButton(_ sender: UIButton) {
        if let txt = Emailtxt.text,txt != ""{
            print("the email is \(txt)")
        }else{
            print("there is no email at all")
        }
    }
    @IBAction func backto(){
        self.performSegue(withIdentifier: "go_to_login", sender: nil)
    }
}

